package com.chb.service.impl;

import com.chb.dao.StorageVolumeDao;
import com.chb.model.entity.StorageVolume;
import com.chb.model.vo.Result;
import com.chb.service.StorageVolumeService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author: 陈海彬
 * @date: Created in 2023/9/26 17:05
 * @description:
 * @modified By:
 * @version:
 */
@Service
public class StorageVolumeServiceImpl implements StorageVolumeService {
    @Autowired
    private StorageVolumeDao storageVolumeDao;

    @Override
    public Result findStorageVolumeInfoById(Integer id) {
        List<StorageVolume> volumeInfoById = storageVolumeDao.findStorageVolumeInfoById(id);
        return Result.success(volumeInfoById);
    }
}